import request from './index'

// 查询用户已绑定的酒店列表
interface INF_BindedHotels_params {
  sessioncode: string
}

export interface INF_BindedHotelInfo {
  HotelName: string
  CreateTime: string
  HotelId: string
  Id: string
  OpenId: string
  Status: string
  UserName: string
}

export type INF_BindedHotels_res = Array<INF_BindedHotelInfo>

export function BindedHotels(data: INF_BindedHotels_params) {
  return request({
    url: '/WeApp/BindedHotels',
    data
  })
}
